package cn.sany.cterminal;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.concurrent.CountDownLatch;

/**
 *
 * @Project : forklift
 * @Package : cn.sany.forklift
 * @Class : CterminalServiceApplication
 * @Description : CterminalServiceApplication
 * @author : zhouxing
 * @CreateDate : 2020-07-13 17:16:37
 * @version : V0.5
 * @Copyright : 2020 sany.com Inc. All rights reserved.
 * @Reviewed :
 * @UpateLog :    Name    Date    Reason/Contents
 *             ---------------------------------------
 *                ****    ****    ****
 *
 */
@SpringBootApplication(exclude = {MongoAutoConfiguration.class,
        SpringDataWebAutoConfiguration.class,
        DataSourceAutoConfiguration.class})
@EnableAsync
@EnableScheduling
public class CterminalServiceApplication {
    private static CountDownLatch countDownLatch = new CountDownLatch(1);
    public static void main (String[] args) throws InterruptedException {
        SpringApplication.run(CterminalServiceApplication.class, args);
        countDownLatch.await();
    }

}
